<?php
include 'vendor/autoload.php';


define('ROOT',__DIR__.'/');

$containerBuild = new \DI\ContainerBuilder();
$containerBuild->useAnnotations(true);
$containerBuild->enableCompilation(__DIR__ . '/var/cache');
$containerBuild->addDefinitions('./config/app.php');

$container = $containerBuild->build();


$index = $container->get(\app\Index::class);
$index->index();




